home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 2
/
Geek_Gadgets_2_2352.bin
/
lists
/
ade-gcc.archive.9602.gz
/
ade-gcc.archive.9602
/
000108_owner-ade-gcc_Thu Feb 22 04:16:12 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-02-28
|
2KB
Return-Path: <owner-ade-gcc>
Received: by fishpond (Smail3.1.29.1 #57)
id m0tpX6b-000gXla; Thu, 22 Feb 96 04:14 EST
Sender: owner-ade-gcc
Received: from faui40.informatik.uni-erlangen.de by fishpond with smtp
(Smail3.1.29.1 #57) id m0tpX6T-000gXfC; Thu, 22 Feb 96 04:14 EST
Received: from pctc.chemie.uni-erlangen.de (pctc.chemie.uni-erlangen.de [131.188.120.2]) by immd4.informatik.uni-erlangen.de with SMTP
id KAA00472 (8.7.2/7.5a-FAU);; Thu, 22 Feb 1996 10:08:34 +0100 (MET)
Received: by pctc.chemie.uni-erlangen.de (AIX 3.2/UCB 5.64/4.03)
id AA31303; Thu, 22 Feb 1996 10:08:22 +0100
Date: Thu, 22 Feb 1996 10:08:22 +0100
Message-Id: <9602220908.AA31303@pctc.chemie.uni-erlangen.de>
From: Thomas Walter <walter@pctc.chemie.uni-erlangen.de>
To: lhecking@nmrc.ucc.ie
Cc: ade-gcc@ninemoons.com
Subject: problem with sh (pdksh)
Sender: owner-ade-gcc@ninemoons.com
Precedence: bulk
Hello, I found some strange behaviour with sh. Following I give an example. I tried it
with two versions of sh. The first is from FF10 and the second is the one I got
from Lars Hecking.
Fail means you get a message like: Missing }.
I tried it also here with bash running on a RS6000 with AIX3.2. You always get
valid output and no error message.
------ cut here. start of file gaga.sh ----------------------------
#!/bin/sh
# This wil not work with pdksh v4.9 93/09/29 found on FF10
# But it works a little bit better with another version of the same pdksh
# but modified from Lars Hecking
#
echo "fo[] = {";
# how to call
# sh -c "gaga.sh"
# sh gaga.sh
# both will fail
# but with sh from Lars Hecking
# sh gaga.sh
# works
# sh -c "gaga.sh"
# fails
---------- cut here. end of file gaga.sh ----------------------
Bye
--
Thomas Walter
INTERNET: walter@pctc.chemie.uni-erlangen.de